<?php
return [
    'vendorPath' => dirname(dirname(__DIR__)) . '/vendor',
    'timezone' => 'PRC',
    'language' => 'zh-CN',
    'name' => '小冰动力',
    'components' => [
        'mCache' => [
            'class' => 'yii\caching\FileCache',
            'cachePath' => '@runtime/cache'
        ],
        'cache' => [
            'class' => 'yii\caching\FileCache',
            'cachePath' => '@runtime/cache'
        ],
//        'mCache' => [
//            'class' => 'yii\caching\Memcache',
//            'servers' => [
//                [
//                    'host' => '127.0.0.1',
//                    'port' => 11211
//                ]
//            ],
//        ],
        'formatter' => ['dateFormat' => 'yyyy-MM-dd', 'datetimeFormat' => 'yyyy-MM-dd HH:mm:ss'],
    ],
];
